package com.example.bakend.service.Impl;

import com.example.bakend.mapper.AdminMapper;
import com.example.bakend.pojo.Admin;
import com.example.bakend.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminMapperImpl implements AdminService {
    @Autowired
    AdminMapper adminMapper;


    @Override
    public Integer updatePassword(Admin admin) {
        return adminMapper.updatePassword(admin);
    }

    @Override
    public Admin selectAdmin(Admin admin) {
        return adminMapper.selectAdmin(admin);
    }
}
